/*
 * @(#)WorkflowQueryRecord.java
 *
 * Copyright (c) 2004 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
 WorkflowGroup.java
 
 This class is the serializable bean reflecting business logic uses.
 
 @author           Angus Shiu
 @company          DCIVision Limited
 @creation date    29/07/2003
 @version          $Revision: 1.3 $
 */

public class WorkflowQueryRecord extends AbstractBaseObject {
  
  public static final String REVISION = "$Revision: 1.3 $";
  public static final String QUERY_TYPE_PUBLIC = "P";
  public static final String QUERY_TYPE_PRIVATE = "PR";
  public static final String QUERY_TYPE_DEFAULT = "D";
  public static final String  RETURN_FORM_LIST_QUERY_RECORD = "LQ";
  public static final String QUERY_OP_TYPE_NEW = "N";
  public static final String QUERY_OP_TYPE_EDIT = "E";
  private String queryName=null;
  private String queryDescription=null;
  private Integer userRecordID=null;
  private Object xmlQuery=null;
  private String queryType = null;
  private Integer workflowGroupID = null;
  /**
   * @return Returns the queryType.
   */
  public String getQueryType() {
    return queryType;
  }
  /**
   * @param queryType The queryType to set.
   */
  public void setQueryType(String queryType) {
    this.queryType = queryType;
  }
  /**
   * @return Returns the description.
   */
  public String getQueryDescription() {
    return queryDescription;
  }
  /**
   * @param description The description to set.
   */
  public void setQueryDescription(String queryDescription) {
    this.queryDescription = queryDescription;
  }
  /**
   * @return Returns the queryName.
   */
  public String getQueryName() {
    return queryName;
  }
  /**
   * @param queryName The queryName to set.
   */
  public void setQueryName(String queryName) {
    this.queryName = queryName;
  }
  /**
   * @return Returns the userRecordID.
   */
  public Integer getUserRecordID() {
    return userRecordID;
  }
  /**
   * @param userRecordID The userRecordID to set.
   */
  public void setUserRecordID(Integer userRecordID) {
    this.userRecordID = userRecordID;
  }
  /**
   * @return Returns the xmlQuery.
   */
  public Object getXmlQuery() {
    return xmlQuery;
  }
  /**
   * @param xmlQuery The xmlQuery to set.
   */
  public void setXmlQuery(Object xmlQuery) {
    this.xmlQuery = xmlQuery;
  }
  
	public Integer getWorkflowGroupID() {
		return workflowGroupID;
	}
  
	public void setWorkflowGroupID(Integer workflowGroupID) {
		this.workflowGroupID = workflowGroupID;
	}
}
